Adds static modifier to semantic tokens where appropriate.#2260
Adds static modifier to semantic tokens where appropriate.#2260Techatrix merged 10 commits intozigtools:masterfrom
Conversation
Techatrix
left a comment
There was a problem hiding this comment.
The test coverage for semantic tokens should be updated. You can use zig build test -Dtest-filter="lsp_features.semantic_tokens" to run them.
I pushed a commit to your PR that should improve the error message from the tests when it reports incorrect token modifiers. Hope that helps.
Also be aware that this PR will need to be rebased if #2244 is merged.
|
I've implemented all the tests. |
Techatrix
left a comment
There was a problem hiding this comment.
Looks good! Thanks for your work.
This enables coloring local and static variables differently:

It does not affect VS Code's default themes:
